<?php if (!defined('SHUIPF_VERSION')) exit(); ?>
<Admintemplate file="Common/Head"/>
<style>
    tr td{padding: 10px;}
</style>
<body class="J_scroll_fixed">
<script src="/statics/js/common.js"></script>
<link href="/statics/job/js/js/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/statics/job/js/js/jquery.js"></script>
<script type="text/javascript" src="/statics/job/js/js/jquery.QSdialog.js"></script>
<script type="text/javascript" src="/statics/job/js/js/jquery.vtip-min.js"></script>
<script type="text/javascript" src="/statics/job/js/js/jquery.grid.rowSizing.pack.js"></script>
<script type="text/javascript" src="/statics/job/js/js/jquery.validate.min.js"></script>
<!--<script type="text/javascript" src="/statics/job/js/js/common.js"></script>-->

<div class="wrap J_check_wrap">
    <Admintemplate file="Common/Nav"/>

    <div class="toptit">修改分类</div>
    <form id="form1" name="form1" method="post" action="{:U('admin/categroy/edit_category')}">

        <table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-bottom:1px #96B7E2 dashed">
            <tr>
                <td width="120" align="right">名称:</td>
                <td><input name="c_name" type="text" class="input_text_200"  value="{$category.c_name}" /></td>
            </tr>
            <tr>
                <td width="120" align="right">排序:</td>
                <td>
                    <input name="c_order" type="text" class="input_text_200"  value="{$category.c_order}" />
                    <input name="c_alias" type="hidden" value="{$category.c_alias}" />
                    <input name="c_parentid" type="hidden" value="{$category.c_parentid}" />
                </td>
            </tr>
            <tr>
                <td width="120" align="right">首字母索引:</td>
                <td>
                    <input name="c_index" type="text" class="input_text_200" maxlength="60"  value="{$category.c_index}"  />
                    <span class="admin_note">如：分类名称为：环球中心 则为：<strong>h</strong></span>
                </td>
            </tr>
            <if condition="$category[c_alias] eq job_officebuilding ">
            <tr>
                <td width="120" align="right">说明:</td>
                <td>
                    <input name="c_note" type="text" class="input_text_200" maxlength="60"  value="{$category.c_note}"  />
                    <span class="admin_note">如：天府大道1700号环球中心E5</span>
                </td>
            </tr>
            </if>
        </table>
        <table width="100%" border="0" cellspacing="6" cellpadding="0">
            <tr>
                <td width="120"> </td>
                <td>
                    <input name="c_id" type="hidden" value="{$category.c_id}" />
                    <input type="submit"  value="保存" class="admin_submit" />
                    <input name="submit22" type="button" class="admin_submit"    value="返 回" onclick="window.location='{:U(\'admin/categroy/show_category\')}&alias={$category.c_alias}'"/>

                </td>
            </tr>
        </table>
    </form>

</div>



</body>
</html>